package com.hl.card.credit.pub.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hl.card.credit.pub.dao.AbstractDao;
import com.hl.card.credit.pub.dao.PublicIOrderDao;
import com.hl.card.credit.pub.entity.PublicIOrder;

//@Service
public class PublicIOrderService extends AbstractService<PublicIOrder, Integer> {

//	@Autowired
	private PublicIOrderDao<PublicIOrder, Integer> dao;

	@Override
	protected AbstractDao<PublicIOrder, Integer> getDao() {
		return dao;
	}

	public void addPublicIOrderBatch(List<PublicIOrder> list) {
		dao.addBatch(list);
	}

	public List<PublicIOrder> queryIOrderList(PublicIOrder publicIOrder) {
		// TODO Auto-generated method stub
		return dao.queryIOrderList(publicIOrder);
	}

}
